{extend name="public/base"/}
{block name="style"}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/writer/style/books.css">
{/block}
{block name="body"}
    {include file="public/topmenu" /}
    {include file="public/changepwd" /}
    <div class="mainWrap pageCenter cf">     
        {include file="public/leftmenu" /}
      <link rel="stylesheet" type="text/css" href="__PUBLIC__/writer/style/consult.css">

      <div class="mainRight pb200 fl">
            <div class="crumbsWrap"> <i><span>作家咨询</span></i> </div> 
            <div class="dialog-head">
                <div class="filter-box cf">
				  <em>选择年份：</em>
				  <select name="" id="yearSelect">
										  <option value="2018">2018年</option>					  <option value="2017">2017年</option>					  <option value="2016">2016年</option>					  <option value="2015">2015年</option><option value="2014">2015年以前</option>
							 
				  </select>
				  <a id="queryMsgBtn" class="button" href="javascript:">查看</a>
			</div>
              <a id="openCreateConsultPopupBtn" class="newAsk button" href="javascript:"><em class="icon"></em>新咨询</a>
            </div>
            <div class="msgListWrap">
              <!-- 消息列表 -->
              <ul id="consultList"></ul>
              <div id="noMsgBox" class="inBoxListWrap tabWrap noMsg" style="">
                  <p><img src="/public/writer/images/nomessages.png"></p>
                  <br>
                  <span>暂无消息</span>
              </div>   
            </div>
            <div id="msgBtnBox" class="msgCtrl cf" style="display:none;">
              <!-- 翻页组件 -->
              <div id="pager" class="pageBox pr0 fr"></div>
              <a id="markMsgBtn" class="flag" href="javascript:">√全部标记为已读</a>
              <span>|</span>
              <a id="clearMsgBtn" href="javascript:">清空</a>
            </div>
            <br>
            <br>
            <br>
            <br>      
		<img id="requestLoadingTip" class="loadImg" style="display: none;" src="/public/writer/images/loading.gif"></div>
		 <!-- 创建咨询浮层 -->
		<div id="createConsultPopup" class="popupWrap w380" style="display:none;">
		  <a data-node="closeBtn" class="icon closePopup" href="javascript:" title="关闭"></a>
		  <h3>新咨询</h3>
		  <div class="popupBody p30">
			<div class="popupContent select">
			  <p>问题分类</p>
			  <p class="select2">
				<select data-node="questionTypeSelect" name="qtype">            
					<option value="2">作品日常管理问题咨询</option><option value="3">作品违规屏蔽、删扣点击咨询</option><option value="4">新书审核问题咨询</option>       
				</select>
			  </p>
			  <br />
			  <p>问题描述</p>
			  <p>
				<textarea data-node="questionContent" cols="30" rows="10"></textarea>
			  </p>
			  <i class="f12 c999">20~500字</i>
			</div>
			<center class="confirmBtn">
			  <a data-node="submitBtn" class="button full" href="javascript:">提交</a>
			</center>
		  </div>
		</div>

       <script type="text/javascript" src="__PUBLIC__/writer/js/consult.js"></script> <script type="text/javascript">
          $(function(){
              var imgUrl = "https://img1.write.qq.com/writer/p1";

              CS.page.consult.main.init(imgUrl);
          });
       </script>
    </div>
    {include file="public/footer" /}
<script type="text/javascript">
/*
    $(function () {
        var imgUrl = "";
        var artidx = "0";
        var selectid = "0";
        var articlename = "";

        CS.page.bookNovels.novelList.init(imgUrl,artidx,articlename,selectid);
    });*/
    $('#novelList').on('mouseenter', 'tr',
    function() {
        $(this).addClass('active').siblings('tr').removeClass('active');
    });
</script>
{/block}
{block name="script"}
{/block}


